package designPattern.struction.bridgepattern;

/**
 * @author 张琪
 * @date 2023/3/3 16:37
 */
public abstract class Abstraction {
    private Implementor implementor;

    public Abstraction(Implementor implementor) {
        this.implementor = implementor;
    }

    public void operation() {
        implementor.operationImpl();
    }
}
